import logo from './logo.svg';
import './App.css';
import React from 'react'
import Son from './Son'
class App extends React.PureComponent {
  state = {
    msg: 123
  }
  render() {
    return <div className='App'>
      父组件
      <br />
      <Son msg={this.state.msg} a={<div>i am slot2</div>} scopeslot={(scope) => { return <div>scope{scope}</div> }}>
        <div>i am slot</div>
      </Son>
    </div >
  }
}


export default App;
